namespace MvcMall.AdminWeb.Manage
{
    public class ManageBasePage : BasePage
    {
        protected override void OnLoad(System.EventArgs e)
        {
            if (!User.Identity.IsAuthenticated)
            {
                ClientScript.RegisterClientScriptBlock(this.GetType(), "location", "this.window.top.location.href='/Login.aspx'", true);
                return;
            }

            base.OnLoad(e);
        }
    }
}